package day52.pet.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import day52.basic.domain.BaseDomain;
import day52.org.domain.Shop;
import day52.user.domain.User;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author Yang
 * @since 2022-12-31
 */
@Data
public class OrderAdopt extends BaseDomain{

    private static final long serialVersionUID = 1L;

    /**
     * 摘要
     */
    private String digest;
    /**
     * 待支付 待确认 完成 取消
     */
    private Integer state;
    private BigDecimal price;
    private String orderSn;
    private String paySn;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone ="GMT+8")
    private Date lastPayTime;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone ="GMT+8")
    private Date lastConfirmTime;
    private Pet pet;
    private Long petId;
    private User user;
    private Long userId;
    private Shop shop;
    private Long shopId;
    private Integer serviceMethod;

}
